Skip to content

Conversation

@WillRayAtPropertyMe
Copy link
Owner

Fix: when input is ALL CAPS (multi-letter), pluralization should produce an ALL CAPS plural (e.g., 'SINGULAR TYPE NAME' -> 'SINGULAR TYPE NAMES').

Files changed: src/Humanizer/Inflections/Vocabulary.cs, src/Humanizer.Tests/InflectorTests.cs

This adds a check to uppercase the full replacement when the input contains multiple letters and is all uppercase, and adds tests to cover the behavior.

Runs tests: dotnet test (net8.0/net10.0) - all passing.

@WillRayAtPropertyMe WillRayAtPropertyMe changed the title Preserve ALL-CAPS pluralization for multi-letter inputs; add test Preserve ALL-CAPS pluralization for multi-letter inputs Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant